package www.sofn.com.integral;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import www.sofn.com.integral.domain.pojo.IntegralPO;
import www.sofn.com.integral.domain.query.IntegralQuery;
import www.sofn.com.integral.domain.vo.IncomeInfoVO;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface IntegralMapper  extends BaseMapper<IntegralPO> {
    List<IncomeInfoVO> finalIncome(@Param("query") IntegralQuery query, @Param("memberId") Serializable memberId);

    BigDecimal getIncomeData(@Param("todayIncome")Boolean todayIncome, @Param("memberId") Serializable memberId);
}
